package com.hopes.bizz.risk.statistic.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: ljh
 * @create: 2023/6/13
 */
@Data
public class SafetyStatisticsDTO implements Serializable {

    private static final long serialVersionUID = 1107941404896121417L;

    // 风险对象id
    private Long id;

    // 部门id
    private String deptId;

    // 风险点对象类型
    private Integer hazardType;

    // 任务状态
    private Integer taskStatus;

    // 任务类型
    private Integer workType;

    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
